package com.dingup.paike.adapter.pk;

import com.alibaba.fastjson.JSONObject;
import com.dingup.api.bean.response.SelectBean;
import com.dingup.paike.enums.LessonStatusEnum;
import com.dingup.paike.model.pk.PkLessonInfo;
import com.dingup.paike.model.pk.PkLessonUser;

import java.util.List;

/**
 * Created by wancheng on 2018/9/26.
 */
public class PkLessonInfoAdapter extends PkLessonInfo{

    private String teacherName;
    private List<String> studentNames;
    private List<String> studentNotNeedGoToClass;
    private String className;
    private List<PkLessonUser> users;
    private String beginTimeString;
    private String endTimeString;
    private List<SelectBean> teacher;
    private List<String> students;
    private List<SelectBean> observers;
    //是否可以删除(页面判断)
    private Boolean ifCouldDelete;
    private Boolean ifEndClass;
    private Float classHour;
    private String dayTime;
    private LessonStatusEnum lessonStatus;

    /**
     * 视频相关参数
     */
    private JSONObject videoUrlObj;
    private JSONObject videoDownloadObj;
    private List<String> ossVideoUrlList;



    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public List<String> getStudentNames() {
        return studentNames;
    }

    public void setStudentNames(List<String> studentNames) {
        this.studentNames = studentNames;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<PkLessonUser> getUsers() {
        return users;
    }

    public void setUsers(List<PkLessonUser> users) {
        this.users = users;
    }

    public String getEndTimeString() {
        return endTimeString;
    }

    public void setEndTimeString(String endTimeString) {
        this.endTimeString = endTimeString;
    }

    public String getBeginTimeString() {
        return beginTimeString;
    }

    public void setBeginTimeString(String beginTimeString) {
        this.beginTimeString = beginTimeString;
    }

    public List<SelectBean> getTeacher() {
        return teacher;
    }

    public void setTeacher(List<SelectBean> teacher) {
        this.teacher = teacher;
    }

    public List<String> getStudents() {
        return students;
    }

    public void setStudents(List<String> students) {
        this.students = students;
    }

    public List<SelectBean> getObservers() {
        return observers;
    }

    public void setObservers(List<SelectBean> observers) {
        this.observers = observers;
    }

    public Boolean getIfCouldDelete() {
        return ifCouldDelete;
    }

    public void setIfCouldDelete(Boolean ifCouldDelete) {
        this.ifCouldDelete = ifCouldDelete;
    }

    public Boolean getIfEndClass() {
        return ifEndClass;
    }

    public void setIfEndClass(Boolean ifEndClass) {
        this.ifEndClass = ifEndClass;
    }

    public List<String> getStudentNotNeedGoToClass() {
        return studentNotNeedGoToClass;
    }

    public void setStudentNotNeedGoToClass(List<String> studentNotNeedGoToClass) {
        this.studentNotNeedGoToClass = studentNotNeedGoToClass;
    }

    public Float getClassHour() {
        return classHour;
    }

    public void setClassHour(Float classHour) {
        this.classHour = classHour;
    }

    public String getDayTime() {
        return dayTime;
    }

    public void setDayTime(String dayTime) {
        this.dayTime = dayTime;
    }

    public LessonStatusEnum getLessonStatus() {
        return lessonStatus;
    }

    public void setLessonStatus(LessonStatusEnum lessonStatus) {
        this.lessonStatus = lessonStatus;
    }

    public void clean(){
        setBeginTime(null);
        setEndTime(null);
        setEeoCourseId(null);
        setIfClassFee(null);
        setIfLive(null);
        setIfPlayback(null);
        setIfSyncEeo(null);
        setIfTranscribe(null);
    }
    public void userClean(){
        setUsers(null);
    }

    public JSONObject getVideoUrlObj() {
        return videoUrlObj;
    }

    public void setVideoUrlObj(JSONObject videoUrlObj) {
        this.videoUrlObj = videoUrlObj;
    }

    public JSONObject getVideoDownloadObj() {
        return videoDownloadObj;
    }

    public void setVideoDownloadObj(JSONObject videoDownloadObj) {
        this.videoDownloadObj = videoDownloadObj;
    }

    public List<String> getOssVideoUrlList() {
        return ossVideoUrlList;
    }

    public void setOssVideoUrlList(List<String> ossVideoUrlList) {
        this.ossVideoUrlList = ossVideoUrlList;
    }
}
